Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Class com.pacist.diamonds.RoundButton

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Canvas
              |
              +--com.pacist.diamonds.DiamondCanvas
                    |
                    +--com.pacist.diamonds.DrawnButton
                          |
                          +--com.pacist.diamonds.RoundButton

public class RoundButton
extends DrawnButton
A component implementing an oval shaped button.

See Also:
Serialized Form

Fields inherited from class com.pacist.diamonds.DrawnButton
armed, behaviour, BUTTON, buttonListeners, flags, LABEL, mouseIn, NOTIFY_ARM, NOTIFY_DISARM, RADIO, SHADOW_ALL, SHADOW_BORDER, SHADOW_BOTTOM, SHADOW_LEFT, SHADOW_NONE, SHADOW_RIGHT, SHADOW_ROUNDED, SHADOW_TOP, shadowType, state, states, TOGGLE, tracking, TRISTATE, what
 
Fields inherited from class com.pacist.diamonds.DiamondCanvas
tipText
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Constructor Summary
RoundButton()
          Creates and initializes a RoundButton object, with BUTTON behaviour.
RoundButton(int behaviour)
          Creates and initializes a RoundButton object, with the specified behaviour.
RoundButton(int behaviour, java.lang.Object what)
          Deprecated. Creates and initializes a RoundButton object with the specified behaviour and object reference.
 
Method Summary
java.awt.Dimension getMinimumSize()
          Gets the minimum size of the RoundButton.
int getMinRadius()
          Gets the minimum radius of the RoundButton.
java.awt.Dimension getPreferredSize()
          Gets the preferred size of the RoundButton.
java.awt.Dimension minimumSize()
          Deprecated. Returns the minimum size of the RoundButton.
void paintButton(java.awt.Graphics g, boolean down)
           
java.awt.Dimension preferredSize()
          Deprecated. Returns the preferred size of the RoundButton.
void setMinRadius(int val)
          Sets the minimum radius of the RoundButton.
 
Methods inherited from class com.pacist.diamonds.DrawnButton
addActionListener, getBehaviour, getButtonListeners, getNotify, getShadowType, getState, inButton, isArmed, isDown, isSet, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, paintButton, paint, processAction, removeActionListener, setArmed, setBehaviour, set, setEnabled, setNotify, setShadowType, setState, setStates
 
Methods inherited from class com.pacist.diamonds.DiamondCanvas
getTipText, mouseEnter, mouseExit, processMouseEvent, setTipText
 
Methods inherited from class java.awt.Canvas
addNotify, paint
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getAlignmentX, getAlignmentY, getBackground, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getName, getParent, getPeer, getPreferredSize, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, paint, paramString, postEvent, preferredSize, prepareImage, prepareImage, printAll, print, processComponentEvent, processEvent, processFocusEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, remove, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFont, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, update, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Constructor Detail

RoundButton

public RoundButton()
Creates and initializes a RoundButton object, with BUTTON behaviour.
See Also:
DrawnButton

RoundButton

public RoundButton(int behaviour)
Creates and initializes a RoundButton object, with the specified behaviour.
See Also:
DrawnButton

RoundButton

public RoundButton(int behaviour,
                   java.lang.Object what)
Deprecated. as of JDK1.1.
Creates and initializes a RoundButton object with the specified behaviour and object reference.
Method Detail

setMinRadius

public void setMinRadius(int val)
Sets the minimum radius of the RoundButton.

getMinRadius

public int getMinRadius()
Gets the minimum radius of the RoundButton.

paintButton

public void paintButton(java.awt.Graphics g,
                        boolean down)
Overrides:
paintButton in class DrawnButton

getMinimumSize

public java.awt.Dimension getMinimumSize()
Gets the minimum size of the RoundButton.
Returns:
Dimension - the minimum size of the button.
Overrides:
getMinimumSize in class java.awt.Component

getPreferredSize

public java.awt.Dimension getPreferredSize()
Gets the preferred size of the RoundButton.
Returns:
Dimension - the preferred size of the button.
Overrides:
getPreferredSize in class java.awt.Component

preferredSize

public java.awt.Dimension preferredSize()
Deprecated. As of JDK1.1.
Returns the preferred size of the RoundButton.
Returns:
Dimension - the size of the button.
Overrides:
preferredSize in class java.awt.Component

minimumSize

public java.awt.Dimension minimumSize()
Deprecated. As of JDK1.1.
Returns the minimum size of the RoundButton.
Returns:
Dimension - the minimum size of the button.
Overrides:
minimumSize in class java.awt.Component

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD